﻿using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Newtonsoft.Json;

namespace Smugmug
{
    [XmlType("Album"), JsonObject]
    public class AlbumStats
    {
        [XmlAttribute("id"), JsonProperty("id")]
        public int Id { get; set; }
        [XmlAttribute, JsonProperty]
        public int Bytes { get; set; }
        [XmlAttribute, JsonProperty]
        public int Tiny { get; set; }
        [XmlAttribute, JsonProperty]
        public int Thumb { get; set; }
        [XmlAttribute, JsonProperty]
        public int Small { get; set; }
        [XmlAttribute, JsonProperty]
        public int Medium { get; set; }
        [XmlAttribute, JsonProperty]
        public int Large { get; set; }
        [XmlAttribute, JsonProperty]
        public int XLarge { get; set; }
        [XmlAttribute, JsonProperty]
        public int X2Large { get; set; }
        [XmlAttribute, JsonProperty]
        public int X3Large { get; set; }
        [XmlAttribute, JsonProperty]
        public float Original { get; set; }
        [XmlAttribute, JsonProperty]
        public float Video320 { get; set; }
        [XmlAttribute, JsonProperty]
        public float Video640 { get; set; }
        [XmlAttribute, JsonProperty]
        public float Video960 { get; set; }
        [XmlAttribute, JsonProperty]
        public float Video1280 { get; set; }

        public ImageStatsCollection Images { get; set; }
    }
}